Skip to content

Don't render external documents#1456

Merged
eddeee888 merged 4 commits intodotansimha:mainfrom
ikusakov2:feature/do-not-render-exteral-documents
May 3, 2026
Merged

Don't render external documents#1456
eddeee888 merged 4 commits intodotansimha:mainfrom
ikusakov2:feature/do-not-render-exteral-documents

Conversation

@ikusakov2
Copy link
Copy Markdown
Contributor

Description

In the recent version of graphql-code-generator, the DocumentFile contains type,
which is either 'standard' or 'external'.

We need to fix near-operation-file plugin: don't generate output for documents maked are 'external'. Treat them as read only documents.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Unit test

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 1, 2026

🦋 Changeset detected

Latest commit: 632590d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@graphql-codegen/near-operation-file-preset Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@eddeee888 eddeee888 merged commit aaa517a into dotansimha:main May 3, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants